[Unit]
Description=TacticalRMM Nats Api
After=nats.service

[Service]
Type=simple
ExecStart=/usr/local/bin/nats-api -config {{ backend_dir }}/api/tacticalrmm/nats-api.conf
User={{ user }}
Group={{ user }}
Restart=always
RestartSec=5s

[Install]
WantedBy=multi-user.target